<div class="row searchLineWrap">
	<form id="wcvedioList" name="wcvedioList" action="${cxt!}/wealthcollegevedio/getWcvedioList" method="post" class="form-horizontal">
		<div class="col-lg-12">
			<div class="col-md-3">
				<div class="form-group">
					<label class="col-md-5 control-label">${_res["wealth.college.usergroup"]}:</label>
					<div class="col-md-7">
						<#dict type="select" name="wealthCollegeVedio.f_usergroup" table="customer_role" filedName="name" filedValue="code" defaultValue="${paramMap['project.f_status']}"/>
					</div>
				</div>
			</div>
			
			<div class="col-md-3">
				<div class="form-group">
					<label class="col-md-5 control-label">${_res["wealth.college.vedioname"]}:</label>
					<div class="col-md-7">
						<input type="text" class="form-control" name="wealthCollegeVedio.l_vedioname" placeholder="${_res['wealth.college.vedioname']}" value="${paramMap['applicantForm.l_vedioname']}" />
					</div>
				</div>
			</div>
			
			<div class="col-md-3">
				<div class="form-group">
					<label class="col-md-5 control-label">${_res["wealth.college.vediourl"]}:</label>
					<div class="col-md-7">
						<input type="text" class="form-control" name="wealthCollegeVedio.l_vediourl" placeholder="${_res['wealth.college.vediourl']}" value="${paramMap['applicantForm.l_vediourl']}" />
					</div>
				</div>
			</div>
			
			<div class="col-md-3">
				<div class="form-group">
					<% if(hasPrivilegeUrl("getWcvedioList")){ %>
						<button type="button" class="btn btn-primary pull-right" onclick="ajaxForm('content','wcvedioList')">
							<i class="fa fa-search m-l-sm m-r-xs"></i>${_res["system.search"]}
						</button>
					<% } %>
				</div>
			</div>
		</div>
	</form>
</div>

<div class="row searchLineWrap">
	<p>
		<% if(hasPrivilegeUrl("wcvedio")){ %>
			<a href="javascript:void(0);" onClick="ajaxContent('/admin/toUrl?toUrl=/realty/wealthcollege/addvedio.html');" class="btn btn-primary pull-left">${_res["wealth.college.addvedio"]}</a>
			<div class="clearfix"></div>
		<% } %>
	</p>
	<table class="table table-bordered" id="list-table">
		<thead>
			<tr>
				<th>${_res["wealth.vedio.cover"]}</th>
				<th>${_res["wealth.college.vedioname"]}</th>
				<th>${_res["wealth.college.vedioUserGroup"]}</th>
				<th>${_res["wealth.college.vediourl"]}</th>
				<th>${_res["user.review.processor"]}</th>
			</tr>
		</thead>
		<tbody>
			<% for(record in splitPage.list!){ %>
				<tr>
					<td style="background-color: rgb(255, 255, 255);"><img
						src="upload/${record.coverpictureurl!}" width="60px" height="45px" /></td>
					<td style="background-color: rgb(255, 255, 255);">${record.vedioname!}</td>
					<td style="background-color: rgb(255, 255, 255);">
						<#dict type="lable" value="${record.usergroup!}" table="customer_role" filedName="name" filedValue="code" />
					</td>
					<td style="background-color: rgb(255, 255, 255);">${record.vediourl!}</td>
					<td style="background-color: rgb(255, 255, 255);">
						<!-- 下载功能实现 --> 
						<% if(hasPrivilegeUrl("vedioDownload")){ %>
							<button	 class="btn btn-sm btn-link" onClick="ajaxDownload('/wealthcollegevedio/download/${record.id!}','fileName=/upload/${record.coverpictureurl!}');">
								${_res["system.download"]}
							</button>
						<% } %> 
						<% if(hasPrivilegeUrl("toEditVedio")){ %>
							<button type="button" class="btn btn-sm btn-link" onClick="ajaxContent('/wealthcollegevedio/toEditVedio/${record.id!}')">
								${_res["system.edit"]}
							</button>
						<% } %> 
						<% if(hasPrivilegeUrl("deleteVedio")){ %>
							<button type="button" class="btn btn-sm btn-link" data-trigger="confirm" onClick="ajaxDelete('/wealthcollegevedio/deleteVedio/${record.id!}')">
								${_res["system.delete"]}
							</button>
						<% } %>
					</td>
				</tr>
			<% } %>
		</tbody>
	</table>
	<div id="splitPageDiv"><#page formId="wcvedioList" /></div>
	<#nav />
</div>